const TokenKey = 'vue_admin_template_token';

//获取本地存储token
export function getToken() {
	return localStorage.getItem(TokenKey);
}

//本地存储token
export function setToken(token: string) {
	return localStorage.setItem(TokenKey, token);
}

//移出本地存储token
export function removeToken() {
	return localStorage.removeItem(TokenKey);
}
